from django.db import models

# Create your models here.


class ShouJi(models.Model):
    id = models.AutoField(primary_key=True)
    lianxi = models.CharField(max_length=300)
    tianjia = models.CharField(max_length=50, default='No')

    class Meta:
        ordering = ("id",)


class CaXun(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=300)
    curriculum_name = models.CharField(max_length=300)
    jingdu = models.CharField(max_length=50, default='No')

    class Meta:
        ordering = ("id",)
